package edu.ccut.saturn.studio.wfg.dialog.vocationallogicdialog;

import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.jface.viewers.ITableLabelProvider;
import org.eclipse.swt.graphics.Image;

import edu.ccut.saturn.studio.wfg.wfgmodel.LogicKeyAttribute;

public class LogicKeyAttributeLabelProvider implements ITableLabelProvider {

	public Image getColumnImage(Object element, int columnIndex) {
		return null;
	}

	public String getColumnText(Object element, int columnIndex) {
		LogicKeyAttribute logicKey = (LogicKeyAttribute) element;
		if (columnIndex == 0){
			return logicKey.getKey();
		}
		return "";
	}

	public void addListener(ILabelProviderListener listener) {
	}

	public void dispose() {
	}

	public boolean isLabelProperty(Object element, String property) {
		return false;
	}

	public void removeListener(ILabelProviderListener listener) {
	}
}
